<div class="tabs">
    <ul>
    <%for @tab in @tabs%>
        <%if @tab.current %>
            <li><span class="currentTab"><%=@tab.title%></span></li>
        <%else%>
            <li><%= link_to(@tab.title,@tab.url) %></li>
        <%end%>
    <%end%>
    </ul>
</div>
